#ifndef __CAM_UTIL_H__
#define __CAM_UTIL_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "lv_drv_conf.h"

#if USE_CRANE_CAMERA

#define BU_REG_READ(x) (*(volatile uint32_t *)(x))
#define BU_REG_WRITE(x,y) ((*(volatile uint32_t *)(x)) = (y) )

#endif /* USE_CRANE_CAMERA */

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
